fix(logs): remove not so useful logs
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 18 Jun 2025 20:57:35 +0000 (22:57 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 18 Jun 2025 20:57:35 +0000 (22:57 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/common/filesystembase.cpp

index cb83dc576511c9a9684979938e158656efb9efd5..dc7b0aa6e97237b0ed4923a1433affc0f4705508 100644 (file)
@@ -763,8 +763,6 @@ bool FileSystem::setAclPermission(const QString &unsafePath, FolderPermissions p
     }
 
     if (permissions == FileSystem::FolderPermissions::ReadOnly) {
-        qCInfo(lcFileSystem) << path << "will be read only";
-
         if (!AddAccessDeniedAceEx(newDacl.get(), ACL_REVISION, OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE,
                                   FILE_DELETE_CHILD | DELETE | FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_APPEND_DATA, sid)) {
             qCWarning(lcFileSystem) << "error when calling AddAccessDeniedAce << path" << GetLastError();
@@ -772,10 +770,6 @@ bool FileSystem::setAclPermission(const QString &unsafePath, FolderPermissions p
         }
     }
 
-    if (permissions == FileSystem::FolderPermissions::ReadWrite) {
-        qCInfo(lcFileSystem) << path << "will be read write";
-    }
-
     for (int i = 0; i < aclSize.AceCount; ++i) {
         void *currentAce = nullptr;
         if (!GetAce(resultDacl, i, &currentAce)) {